package com.study.manage.dal;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.study.manage.domain.EvaluateSingupPool;
import com.study.manage.domain.enumm.LiveDieState;

public interface EvaluateSingupPoolRepository
        extends PagingAndSortingRepository<EvaluateSingupPool, Long> {

    int countByEvaluateIdAndState(Long evaluateId, LiveDieState state);

    int countByEvaluateIdAndUserIdAndState(Long evaluateId, Long userId, LiveDieState state);

}
